package com.github.soiff.shadow.autoconfigure;

import org.springframework.web.servlet.view.AbstractTemplateView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created by Soiff on 2016/05/20.
 *
 * @author : Soiff
 */
public class HandlebarsView extends AbstractTemplateView {
    @Override
    protected void renderMergedTemplateModel(Map<String, Object> map, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception {
        //TODO: Add our own implementation.
        httpServletResponse.getWriter().write("TODO: Add our own implementation.");
    }

    @Override
    protected boolean isUrlRequired() {
        return true;
    }
}
